net, socket, socket_wq: fix missing initialization of flags