add tcp_debug.erl

Add a simple tcp server for evaluating {M,F,A} that can be used to access
partitioned nodes during tests.
cleanup tcp_debug api