Add new method Endpoint.updateHeaders and use this to add nonce required
by FileService
Merge pull request #54 from markewallace/AddEndpointUpdateHeaders

Add new method Endpoint.updateHeaders and use this to add nonce required by FileService