Restructure Server code and reduce Promise{Request,Response} to Primitive{Request,Response}.