fixed messageId bug in chunked encoding
added unittest
fixed unittest main function
renamed Client to UdpClient