In IOS APP, How to connect to proxy and then convert socket to SSL - GCDAsyncSocket
I need to first connect to my office network proxy using the "connectoToHost:" and then send it the "CONNECT " HTTP handshake message which will return "CONNECTION ESTABLISHED" after which I need to convert it to a SSL socket using "startTLS" method to connect to the desired IP mentioned in the CONNECT message.

Connect to proxy
send "CONNECT" message
Once "CONNECTION ESTABLISHED", I need to convert the socket to ssl to conenct to another IP mentioned in CONNECT message through the SSL socket
Please help!! Very urgent.
In IOS APP, How to connect to proxy and then convert socket to SSL - GCDAsyncSocket
===

I need to first connect to my office network proxy using the "connectoToHost:" and then send it the "CONNECT " HTTP handshake message which will return "CONNECTION ESTABLISHED" after which I need to convert it to a SSL socket using "startTLS" method to connect to the desired IP mentioned in the CONNECT message.

Connect to proxy
send "CONNECT" message
Once "CONNECTION ESTABLISHED", I need to convert the socket to ssl to conenct to another IP mentioned in CONNECT message through the SSL socket
Please help!! Very urgent.