Changed: do not write to GetResponseStream() if ContentLength is 0