some fixes for statistics
Merge pull request #302 from LipuFei/improve-statistics

Some fixes for new statistics
Convert StandaloneEndpoint to use twisted's DatagramProtocol
Merge pull request #300 from whirm/twisted_endpoint

Endpoint migration to twisted
fix statistics enable_debug()