close posted/put file after upload
simplify _post_f() and _put_f()
turn _get/_head/_delete into macros
let _get/_head/_delete compose their uris
use waitpid() when stopping test server
expand _get_h to head and delete