support rack version 1.5.0 or more

 * session is not child class of Hash in rack 1.5.0
 * fetch method is not working as Hash