Router and two processes to automate processing of ripple transactions in and out of gatewayd