Add setter getter on socket for clienthelpers