General network (HTTP/FTP/...) client interface for R