Autoconf - check for features instead of checking for host systems

Since it is likely that new OS versions implement new socket options
it is always a good idea to check for features (here socket options)
instead of checking for host systems. Add an autoconf check for
IP_MTU_DISCOVER, TCP_CORK, and TCP_CONGESTION.
Autoconf - add check for tcp_ca_state