Check and set a non-set HTTP_PROXY variable. Closes #3063