Fixes CURLINFO_HEADER_SIZE of versions below 7.30

refs: https://sourceforge.net/p/curl/bugs/1204/

Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>