More functional version with dummy request/response generator. WIP