Use correct GCDAsyncSocket methods in connectToHost:

This should allow connectToHost: to work with all protocols.