Javascript HTTP client for a Ripple REST API server