Heartbeat Header for Heroku

Heroku times out after 30 seconds of inactivity and 55 seconds of
no data returned. This sends a heartbeat header every 20 seconds. A
header is used instead of null bytes because the Heroku router
requires some data sent to the client.