Added client exit method, heavy development on spockd