fixes a bug that may corrupt json marshalling

the varnish new relic plugin somehow managed to sneak in values whose product produced a `Infinity` value that broke JSON marshalling afterwards. This pr adds a precondition to the `sumOfSquares` field and prevents it from being infinite. This does not break JSON marshalling anymore.