Implement OWIN signature and self-hosting support.