Change Next signature to include OWIN env for better compatibility
Split net40 and net45 versions