Make `client.SocketClient` slightly more useful
Make `client.SocketClient` slightly more useful

(cherry picked from commit c385d97e0d0b90f60530f46fe8fb830b5799b5c4)
Signed-off-by: Nicolas Trangez <abbeee14574502be75498298fab55c152b9bac47@nicolast.be>

Incubaid/pyrakoon,Incubaid/pyrakoon