TCP adaptation schemes in heterogeneous and ad hoc wireless networks