The refugee flow from Zawiya, a city of 200,000 people, and from Tripoli hinted at the possible flood that could pour into rebel-held havens and neighboring Tunisia as fighting moves closer to the capital.