Fix null pointer derefence when statsd server is unreachable
Fix indentation
Merge pull request #3 from groe/master

Fix null pointer derefence when statsd server is unreachable (fixes #2)