Added EventMachine support