Allow websocket to take request options

This is mostly so I can pass cookies in