Fixing bugs where the read/write rate limiting features of the tcp transport might not take effect.