net: answer HINFO queries

This also fixes the packing if strings.