adding UDP max size guards
added udp max buffer size at 65k