Convert a stream path into it's normalized form.

def normalize_uri(self, uri):
        """Convert a stream path into it's normalized form."""
        return urllib.quote(
            re.sub(r"\s", '+', uri.strip().lower()),
            safe = '~@#$&()*!+=:),.?/\'')