Fix tcp test
Switch to luv wrappers
Start to change to embedded uv_ref_t style