code for signature v4 reorganized; still not accepted by AWS
several fixes for signature v4; hashes still does not match