Updated echo server to support cross origin resources