Library for automatic proxy configuration management