read and process upstream header in cycle, this fixes the case when local FastCGI server sends many warnings in stderr