client: add basic `field()` and `attach()` functions

Just really basic wrappers around the HTML5 `FormData` object.