support for adding proxy wrapping to  an existing Server

TODO: rewrite, hacky as hell