added support for global status
Merge pull request #9 from olivier-squid/master

added support for global status