Combine client and server callbacks

Remove 7 argument rx_tx() function, instead set local variables based on
which watcher's callback was called.