See https://github.com/devw/https-server-nodejs/pull/3/commits/4c476186de06e89b00829a622a78d78f7eaf1a87