Performance comparison and optimization of ICN prototypes