lib/helpers: added support for zero 'ms' metrics

Also added more tests for packet validity helper.

Pointed out by: @jeffyip in https://github.com/etsy/statsd/pull/382#discussion_r9887857