added URL-rewriting for http://

What it says on the tin.
Merge pull request #183 from virgil/patch-12

added URL-rewriting for http://