Socket implementation

@simucal Implemented web sockets