new: sock for TCP in addition to UDP, Unix, files.
fix: buffered socks were not filled properly