Making URLs relative to the protocol of the request