Bind event handlers in client. Closes #21