added: /poll/:date/avg/:stat endpoint