Use a default port when comparing hosts to a connection pool

Added tests to verify and show expected behavior