A WebSocket handler for Shelf.