Made native client to support both BP and WSJ protocols