stream operators for tcp package