support 1-length packet headers
new line and open packet bin format