Fixed corruption of long UDP debug log messages by using socket_sendto() instead...