Add support for secure WebSocket