Added UDP support to sockets