Commit of first pass implementation of socket client.