Build proceed/compressed elements in a sane way
Fix formatting
Sanitize copy-pasted get_statustag/1
Fix check_from/2 formatting
Merge pull request #216 from lavrin/p1-c2s

Cleanup some pieces of ejabberd_c2s