Improved proxy setting