Add timeouts for client http connections.
Fix Version.IsValid.

Fixes #15.