Feature/fix url no query string

This pull request fixed the issue of the URL port being stripped as well as the query string in the previous implementation. This also fixes the issue of isEqual not including parameter constraints.