add Controller#name to prepare path helper crafting
fix a leak
init unused field to NULL
assume header field and value can be split up
add prefix for all exported functions