split client with raw client and client context
python implemention of protocol by default