tidy up

fixed an error in the reporting module, and updated httpagentparser to
most recent