support passing extra headers in POST requests; but this is not used yet