clean up tcp_server accept api, removing unused return value