refactoring UDP classe to keep socket_d local
UDP writing implemented, some commands still missing
Json respong status to server implemented