[PATCH v3 11/13] flow: Abstract allocation of new flows with helper function