Add proxy settings helper function.