Httpwebrequest bugfix