[backend] do remote getbinaries and binaryversions requests in chunks

This keeps the URLs small, as we don't know if the remote server
can handle long URLs.

Conflicts:
	src/backend/bs_srcserver