Setup NIO for UDP communication