Serve http and https connections over the same port with node.js