timeout fix

I'm not sure about the way we get the configured timeout into the HTTP transport. Is there a better way?

Also, I'm not sure how we could test this.
Maybe we should add `timeout` explicitly her instead? I try to avoid `**kwargs`.