added sizes to protocol and minifix socket utils
more client code