Fix PhantomJS support: add http scheme if necessary