Client side session handler for zf2