options changed to include a 'custom_headers' option as well, this can be used to set header that are used during the web socket handshake