Improving websockets