removed blocking socket connect call. waiting for socket connection is now part of snWebsocket_poll