set server handler chain