url encode the name
improvements in checking for a valid xmpp config, and displaying it in the form (we use 'default' as the name)