Emulator for rapid prototyping of Software Defined Networks