HTTP Web Server: Invalid URL Exception