add callback to client for receive binary data