refactoring the message publisher to sit in a static class (Singleton), this allows the ZMQ socket to remain open and allows messages to be sent without any deplays for TCP handshaking