Merge pull request #1 from datkinson/master

Wooo a pull request
Added 502 response counting & notification
Merge pull request #1 from agjmills/master

add 502 response