Implemented different kinds of capabilities
Improved te Logging.
Pass over the correct WebSocket
Catch errors while handling messages.
Started to implement bits of the protocol.