Use req API in uv_connect_t.