add reset(buffer,size) method
change to make it an example of usage wrt to czmq

remove dependency on czmq (just ctx and socket code)