Adding SocketHandler

SocketHandler is a wrapper around a UNIX-domain socket that can be
used for input and output to a submodule.  This update adds enough
of an API that the vinter simulator will be able to use it.