Add err handler on tcpout/listener. Fixes #50