I always arrange my remote gigs as 1099 contracts. I think this is the common way to do it, and thinking about it I don’t think I’ve run into another developer on the road who was anything else.
The shop I work with these days has a handful of us contractors spread out across the world, while keeping their stationary US folks as W2s.