Ok, so after some digging into SocketRocket code it appears that they do not support connections thru proxy.
I was getting NSPOSIXErrorDomain 64 "Host is down" or NSPOSIXErrorDomain 60 "Operation timed out" because obviously I can't reach needed host directly.