Fixes warning caused by invalid URLs

Example URL: http://reddit-stream.com/shared/proxy-wrapper.php
Merge pull request #3 from johnduhart/patch-1

Fixes warning caused by invalid URLs