Simplifies JID regexp, validation failure is a error and not warning.

Fixes #24, and hopefully this family of problem.
The current JID requires a user name in the JID, which is optional in the protocol specs.
Bump version to 1.1.2