Use SOCKBUF_LOCK instead of SOCK_LOCK