2013-7-2 Set up basic client protocol, implementation for 3 basic commands