refs #1257 Imported urlparse to extract the network location part