Use a default port when comparing hosts to a connection pool

Added tests to verify and show expected behavior
Merge pull request #305 from nipunn1313/default_port

Use a default port when comparing hosts to a connection pool