pass options to websocket constructor

i believe this closes #26