secsipid: added secsipid_sign(headers, payload, keypath)