[CXF-5675] Fixing CPE caused by non-String headers making it into the client via the local transport