Add more metadata to heartbeat messages

This would be useful for better organizing the display of workers in the heartbeats dash.

I'm keen on introducing a 'type' field to the message:

Worker Type: [transport, dispatcher, application]