add option for synchronous requests to client lib - client lib build