support 1-length packet headers
updated the line and open packet format now