Basic functions library for a socket.io esb service.