allow require('http[s]').globalAgent trickery to work as expected, partial solution/workaround for #31