adding implementation of Joyent KeyId convention; making headers parameter optional with default of "date"