Add utility dump_packet method
Proxy: copy server factory's buff_type to client factory