fixing the OWIN write file locking problem, fix to the AspNetCurrentHttpRequest header handling