net: add new options to net.Socket and net.Server
#41310
Merged
net.Socket and net.Server
#41310