the endpoint class is not derivating from DatagramProtocol, This is Only used on the tests so maybe we could move it to ManualEndpoint instead