Avoid an undefined index notice in wp_http_validate_url().

props jesin.
fixes #27684.

git-svn-id: https://develop.svn.wordpress.org/trunk@27953 602fd350-edb4-49c9-b593-d223f7449a82