Implementation of Ripple client protocol in Haskell