fix #25, add 'stats' support for monitoring

Interface: '/stats'