Fixes warning caused by invalid URLs

Example URL: http://reddit-stream.com/shared/proxy-wrapper.php