Expanded the signing process to include AMZ headers and also correctly add Content-Type and Content-MD5 (if provided) to the authorization header