improved WebSocketClient: made member initialization more comprehensible
improved ssl handling