Allow the JID resource to be set using an intuitive parameter name
Merge pull request #209 from PaulSD/resource_param

Allow the JID resource to be set using an intuitive parameter name