Flamini set for Milan talks