Remove dependency on rocommand.uriutils - use Python urlparse module