Writes session data (session) to the Response (resp) and returns new response
session
resp
FutureOr<void> write(Context ctx);