Manual changes to suppport YESpay security headers

There is an overloaded 'write' method which takes user id (email
address) and the SC (the session token) are parameters.  This method
will create a secured, fingerprinted call.