Implement mockSock

This module is able to mock the socket APIs used by libcommsock.a so
that its unit tests can be run without making actual network
connections and allow for error injection to verify error paths.
Add SocketIComm implementation

This is the IComm interface to be used by libmri4sim.a so that it can
communicate with GDB via a TCP/IP socket.