Mehmet Ali Paşa, İzmit