Include connection when building message. Build hash prior to format.