joyent/node — pull request #8362 by mgesmundo (2014-09-12 21:12:39+00:00)
Title: Fix incorrect protocol parsing

Hi,
the parse method fails when the parsed url does not contains a valid protocol:

```js
url.parse('www.google.com:80'); // return www.google.com as protocol
```
Adding a lookahead condition to fix this, maintaing the actual format (char ":" included in the protocol result).

Best regards.
Marcello