Added socketclient base class.