The socket_c module contained a lot of undocumented functions and
classes, which in turn caused nitpick to be too verbous on subsequent
modules when editing.
This commit fixes all the documentation warnings left in the module.
Signed-off-by: Lucas Bajolet <lucas.bajolet@gmail.com>