Minor style fix
Remove unused/unimplemented host_timeout feature
Remove unimplemented feature payload-file
Remove some useless code.
Use NULL instead of 0 to initialize a pointer
Use false instead of zero to initialize a bool
Use false, not zero
Use a constant definition to say 'No Payload'