Added the WebSocket Interface

Updates Wiki and added documentation in code. It hasn't been merged with master since a long time please merge this as soon as possible.