Add a way to create WebSocket connections and send and receive messages.