Fixed performance issues with timeout = 0

The custom http implementation has a TimeoutReaderCloser which is probably supposed to work like a carrot on a stick, rolling deadlines. However: When the timeout is zero, there should be no timeout. Instead it was instantaneous timeout, which made everything slow as hell.