Eliminate malloc/free for uv_* structs in client