Update S3_PING to work with newer pre-signed URL format

All pre-signed URLs must include the bucket name in the hostname
now. This updates the S3_PING code to both generate the new style URLs
as well as be able to parse and use them.