first stab at EventMachine-enabled version. Fairly naive and send-temp only