Viewer web socket codded and tested.
WebSocketConnection code moved to WebSocketConnector and tested.