getting mysterious HPE_INVALID_HEADER_TOKEN exception from Session.request()