Removed an 'useless' nested function.
Making the client bind by unit.
Support N units in serviceInstance.Bind.

Now serviceInstance.Bind calls endpoint.Bind for each unit.