Changed the enclosure section to use CURL instead of the fopen style get_headers method.