Add SSL support to WebSocketClient

Uses java 7 SSLSocketFactory when the scheme is wss.

Note this introduces a dependency on java 7.