udp: pass infinity by default
tcp: use options in accept