Added curl CURLOPT_NOBODY option in geturl function to ensure the HEAD method is used when resolving permanent/temporary URL moves.
Merge pull request #388 from dzaikos/fix-curl-head-request-method

Fixed geturl() function to ensure HEAD request method is used.