[chat] Added message,ports,udp classes. Writen test for udp.