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.
should we provide a default timeout value?