Added simple TCP code, not tested yet, though.