Set language in constructor of \RestfulBase (follow-up of #318)

We will probably need to update the inheriting constructors too.