Implement a new protocol for tcp streaming