Update to a recent server version

I updated the code to be compatible with the current ripple-rest server version.