Add a configurable timeout to ReverseProxy, fix optional ssl

As said in title, this adds a timeout option that was previously absent and fixes the ssl parameter, it should have been optional but was required,