Adds parsing filename from HTTP header.

When downloading a file from URL, the HTTP server may return a name of file the content should be saved as.