Find out which IP version is used and what packet length we have