Added sendTrap in the EMAN simulator