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 being optional.