UDPSink: added constructor and destructor