near-functional client-server framework