[WIP] working on connect packet encoding