Bump session to 3.1.0 for support for JRuby