WIP packet builder
add connection write debuging