Added a 15s ping (for heroku).
Testing broker ping. Added some code to parse query strings.
Fixed a url parse bug.
Removed old server code.
Removed old tests.
Added state change logging.