The protocols setting should be an array.  Add websocket protocol.