Make net.TCPSocket implement Stream.Duplex

...at least enough to run this test:
https://forums.tessel.io/t/socket-pipe-not-working-as-expected/204

Fixes #144