add mock
rm some consts
add a line for error handling
reconnect before resend in client
mirror gomock on code
update for gozmq
rm mock
split interface