filter aft messages

1. add/replace the <sender/> element
2. add timestamp attribute
filter out duplicated jids in a group