add proxy middleware

The proy server target is a static part, but we want to have a proxy stat can specify the target.

We could cache proxy servers for a target and reuse them. If we have a performance issue here we can change it but protocol and target have to stay constant per server