tcp{client}:shutdown() was checking for group instead of class.
tcp{client}:send() now returns i+sent-1...