Custom headers when adding packages

Also, this might be relevant: Installing packages via an SSH SOCKS proxy on a compute cluster