Changing HttpClientConfiguration.setUserAgent and HttpClientConfiguration.getUserAgent to match types