Add basic websocket version. Need to decide how to solve some problems