fix a missing buffer->nbytes update in `buffer_truncate()`
add primitive x-www-form-urlencoded handler