socket: add some missing options
manager: handle known socket types
tcp: tell the manager the socket type
udp: tell the manager the socket type
tcp: add to_port
udp: add to_port