Fayez al-Serraj vows to defend Tripoli as rebel forces from the east advance on the capital.