Return Content-Type with fetch_file_contents()

I needed to get the Content-Type of a fetched document (to get the correct encoding for parsing). I added a global variable `$fetch_last_content_type` which gets set to the value of the `Content-Type` header from the last HTTP operation. This works for curl() and file_get_contents() calls the same way.