ENH: Implemented UDP connection, as well as reconnection and reconnection mechanism.