added automatic management of chunked input in http router