node's http{,s} support is stupid