pack fields of peer_info, bt_peer_connection and http_connection
some more struct packing