work on reads from client
fix message len for debugging