WebSocket: fix the options being initialized

The tests pass once again now.