More accurate host, port parsing

When url has username:password segments, netloc has them too.

````python
>>> scheme, netloc = urlparse.urlparse('http://username:password@server:port/path')
>>> netloc
'username:password@server'
````

Fortunately, urlparse in Python 2.6+ parses and returns `hostname` and `port`(if present).