Abort if the HTTP request URI is invalid