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