Adding SSL support to client: now you can use wss to connect to a secure socket (must be used with socket-changes branch from @aviramc)