What started as an effort to build a Nanxyfx module as a test case, ended with a working OWIN hanlder. Lots of refactoring and gardening too.