Import the URL form field with better code

(See https://github.com/joomla/joomla-cms/blob/master/components/com_contact/models/rules/contactemail.php#L12 )