socket: don't document arguments, it's internal
tcp: properly wrap socket in accept
tcp: send an iodata
udp: send an iodata
tcp: support :both instead of :read_write