Relative protocol support

Convert protocol relative urls that start with // to the protocol specific version using rack.url_scheme.
that code was just moved -- I'll convert to use interpolation here and below, and add the comments.