added URL-rewriting for http://

What it says on the tin.