add ability to connect to mem-db via TCP while a test is running