Add close_connection after sending the EM response
Add the server_rails.rb file that does the same example
with the Rails app