[PATCH 3/6] server: Make thread context a server object.