Remove TCP handler definition and tests.

TCP handler will not be implemented, so remove definitions.
Remove use of INCLUDES in favour of AM_CPPFLAGS.

Standard replacement of deprecated primaries in AM.