Create an ad-hoc command that can be configured to forward specific packets (based on packet type, direction amd processing time) to the entity that made the request.
The code of the new ad-hoc command is: http://jabber.org/protocol/admin#packets_notification. The ad-hoc command will return a form that the requester should complete. The form will ask for:
1) types of packet to get (presence, iq andmessage)
2) incoming or outgoing traffic
3) processing time (before packet was processed or after it was processed).
Only components can execute the new ad-hoc command.