remove unused tcp functions, reuse addr when binding.