added copy ctor to WebSocket