Updates to cyclicTCP

Fixes some bugs with timeouts being observed in subsequent recvs in
recvInner.  Various other fixes/modifications.