Add ability to replace the constructor function of Connection
Allow ConnectionStub to register fetched messages
Add a test for ConnectionPool#fetchCatalog
Add tests for getHostNamesFromCatalog and updateHostNamesFromCatalog