ip4: count raw bytes instead of just payload (Closes #30)