[PATCH 2/3] libcommon: socket: extend make_sock() prototype