fix the udp_server not to break; if it receives a bad packet; fix a segfault with the memmove; and fix a broken logic when do we consider a frame to be done or not (for 0 byte frames)