adding server script for udp sample