A purely functional REST API atop of Finagle