put the handler into the call to tcp-client-factory