updated cloud_client, use async_read/write to implemented blocking tcp client