added timeout option to HttpProxy constructor

The default timeout of 2 minutes is a long timeout. It'd be nice to allow overriding it.

Thanks!