examples/echoclient/Main.hs: Adapt to new API