Support relative redirects when validating URLs.

This fixes CocoaPods/Core#104