Added some functionality to do client side communication.
Merge branch 'master' of https://github.com/lunyx/cs640_proj3