Implement websocket support and new hash generation