better handle nil and/or unknown proxy values