http: make length/offset-related variables unsigned.