Added FavIcon support and many protocol fixes