This moves the packet reading and chunking into a separate module

also threw in a fix to make the date "local time" test pass when your local timezone isn't utc