Added check to ensure that packet body isn't too big (fixes #8)