lib/socket: add an easier server example

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/socket: update socket clients

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>