(1679) - Make http.js more wrapper friendly by checking if URL matches adapter