Fixed http transport for windows compatibility
Added function for path/url sanitization on windows