added queue size functionality, and StatsDClient interface