Make WebSocket optional, disabled by default.  Add tests.