num_connections -> max_connections
changed default threads to 1
changed api to match asio better. updated examples