Move proxy configuration to initialize method