Instead of conditionally setting {'http': proxy} or {'https': proxy}, would it be better to set both protocols all every time?