fix(test): make the GraphiteHandler tests pass again

The GraphiteHandler tests triggered real network activity (namelookups and connects). Let's completely mock this, to make the test work again. Even the backlog case that requires unavailability of the network.