jabber -- history & newlines

Fixes #23 & #34, would be nice to get these in for 1.0.