MDL-48495 curl: Added test file for redirections to other protocols

This will be useful for MDL-48495.