checks if packet is v4 and header has length 5