Resolves #248, preventing UdpFramed from sending 0-length datagrams. Also, adds 0-length tests for UdpSocket.