replace socket calls with the kernel wrapper for kernel-socket calls