include port and query string in url comparison