It often happens that you're on a project that must be accessed over the 'net even for development. (Case in point: PayPal integration. Facebook app. Anything where a proprietary SaaS calls back your URLs.)
What's your or your team's preferred method to write code then? (The one you do most often, if you use more.)
If the idea of having HTTP on your laptop does not fill you with mortal dread, Twilio has an OSS called localtunnel which makes your laptop web-accessible in seconds.
2). Source control for every change, deploy scripts to get it to environments safely and repeatably. DVCSes handle lots of little changes fairly elegantly, and you can squash a range of them after you e.g. figure out the magic incantation to get a foreign API working right. (Turning thirty one-character commits and ten deploy tags into a single "Foreign API now works" commit.)
I have done cowboy coding in Putty in the past. There is no excuse for it.