added padding for all structs containing bitfields

- some structures were using bitfields without proper padding, so that
  was fixed.

- some cleanups to htparse.c