Merging latest change from cmprescott. Added extra compatability. Tried sending to /dev/udp first if that fails will use netcat. Fixed spelling mistake calling handleoff function