Queue stats output

This pull request makes a queue stats output for debugging purposes.  It displays every 5 seconds the length of the TCP output and the HTTP output channels.  It shows the follow facts about the queue every 5 seconds: latest length,mean during poll,max during poll,count of queue calls per poll,count/second.

This can help illuminate the bottlenecks in #81