a little refactor
sign() works.  there is another inconsistencies in stellar api is
discovered and documented.