websocket_client: Rename types and functions