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