created function InitializeHttpRequestProperties.
debug.writeLine added