hacked in changes to support UDP to serial