custom format for Scale Dynos
fix username (due to length)
fix escaping html
keep alive ping
cleanup logging