The netloc contain port and user:password prefix of the url. For example: ``` parse_domain('ftp://user:passwd@example.com:1234') will return 'user:passwd@example.com:1234'. ``` Is `getattr(parsed,'hostname',url)` better?