Adding option to filter empty headers out of the curl output