Added "Sock" Class for the client side.