SRM: add support for 3rd-party HTTP copy

This patch adds support for pulling or pushing data to a remote server via HTTP.