added proxy and timeout options