Corrected the data which is sent to the socket
Implemented RTT timeout updates