Fixed ChatStream to not assume all CPIM headers are present

Ignore-this: d6ce472b1241d01d96baa5ac0ae38e29

darcs-hash:20091230162328-1e3d8-01ed310ab81fb3233ddf93a97d391be53bcc0f50