Fixed problem with downloading https URLs in linux, by using package httr