Fix an off-by-one bug in addStatusHeaderFromStatusLine().
Fix a read-past-buffer bug in addStatusHeaderFromStatusLine().
Preallocate more space in processResponseHeader() in order to reduce the likelihood that a reallocation is necessary.