Fix a connection dropout when trying to send a null message.

Also renames the incorrect error message in asyncUDPSend.