I have nothing against callback, though i am bit unsure how it would work in
case where we would like client to connect to multiple servers. Seems like this
callback would depend on some kind of global state which probably assumes there
is one client in application.
What if we could do something like:
var someConnection = connectToClient()
var helloClient = nerve.createClient(Hello, myTransportFunction,
someConnection)
helloClient.helloWorld()
Run
someConnection would be passed to myTransportFunction in this case.