Allow passing JOSE headers to sign function

Any properties of options.headers are added to the header passed to jws.