fix(util): Updated the url regex to be more verbose—more inline with rfc...

...3986. Modified the protocol attribute to return only the protocol.