[PATCH v4 1/2] server: Store both contexts in pending context object.