Mostly comments, it's where I'll start to think about the API for a web-app version of the relay. The server itself ought to exist already.