Perhaps using nginx reverse proxy to leave node code as is.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/23741210-move-default-connection-to-secure-websockets-wss?utm_campaign=plugin&utm_content=tracker%2F9578624&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9578624&utm_medium=issues&utm_source=github).
Perhaps using nginx reverse proxy to leave node code as is.