How do I create and send a whitespace packet?

I am in the process of trying to add a heartbeat to our client so we can detect disconnections from openfire

What is the simplest way to create and send a whitespace packet?

Thanks!