fixed detection of EOF in HTTP response implementation, 50kB buffers for testing small resources such as encrypted images