Make http-info.coffee work with all jsdom versions

It does not work with `http: url` anymore from 0.7.0.
Merge pull request #1270 from spajus/patch-2

Make http-info.coffee work with latest jsdom