Use CocoaAsyncSocket's GCDAsyncSocket instead of NSStream for the socket connection.