cpp: TSocket: call a second gettimeofday only for error checking Previously, we called gettimeofday twice for every send, which is costly. Now, we only make the second call if send fails with EAGAIN.