Specify pub & sub client in options

@freeall this should be convenient addition.
Does this part have anything to do with the pub/sub part of the PR?