change to follow the new udp api in nodejs v0.10