Filled in processSocketBuffer and associated testing function. Fixed a
couple of problems with reference vs pointer types in the
RemoteCommandQueue and MockCommandQueue.