urlencode message only if API version is v1