The page I was hitting was returning headers with duplicate Set-Cookie calls (which I needed for the functionality I was after). I was able to get it to work by forcing multiple headers of the same type (adding the second argument, "false" to the header function invocation:
if ( !preg_match( '/^(Transfer-Encoding):/', $response_header ) ) {
header( $response_header , false);
}