Principles of Reactive Programming. Homework 3. Part 2. Implemented listener.nextRequest and respond methods