More efficient URL Validation