Reduced code size by universalizing getHeader() and getHTTPResponse(). Optimized getHeader() to read up to 8K instead of 1 byte at a time.