lxip: Add 'sock.c' from network core