udp: make arguments public
tcp: style fixes
tcp: fix options spec
tcp: add raising shutdown
tcp: make arguments public