Normalizing UrlStorage url to prevent HTTP Error 505.

Added url sanitation to prevent error "HTTP Error 505: HTTP Version Not Supported".