Checking for support of each CFLAG
Conditional fix for compilation in older envs
A bit of formal code cleaning

Mostly lines breaking, then also comments
Simplified assigning of IP addresses
Reacting to exceeded TTL/HL
Fixed usage of uninitialized variable in TCP code