Improve HTTP compliance/flexibility in hdr cmps

 - Make header comparison case-insensitive
 - Improve buffer overrun checks
Fix #60 refactor's mistake: getrange must not use sglist
Remove obsolete erroneous code
Make User-agent version use the Driver's version