Add write method to _uv.tcp