TCP Smart-Framing: using smart segments to enhance the performance of TCP