Write an http server for playing rps.