Wrote all the required glue code to host a web api in a service or console application, this needs to be tested in foreground mode on linux under mono to be sure it works. Also need to figure out how to do authentication and peer discovery.