Adding listener infrastructure, testing http code reporting