add test to check that messages get host and port with TCP
fix issue that messages could not be received by udp 'clients'