XEP-0198: Create shorter resume IDs

Omit the user and server name from the 'previd' value.
Merge pull request #277 from weiss/xep-0198

XEP-0198: Create shorter session resume IDs