extract a class for the UDP sending, making it easier to play with batching implementations for issue #15