proper handling of URL encoding in registry messaging target factory