The cleaned user agent that is set here makes use of the SanitizeString function which strips characters that are valid per BIP0014.
As stated in BIP0014, the reserved characters for BIP0014 are /, :, (, ), and ;. However the SanitizeString functions strips the ( and ) characters.