add support for protocol relative url

http://www.paulirish.com/2010/the-protocol-relative-url/