min refactor (proxy server creation)