respect secure_websocket config variable