Added 'm_valid' member.'
Check if address is valid before connecting.
TcpListener::listen with default address argument.