Found and worked around an unfiltered bug that would upper-case the User-Agent header if its value is "te".