reset() and panic() now do nothing if port is closed.
Sockets now work in Python 3 and handle broken pipe (disconnect) in _send().