bind to INADDR_LOOPBACK instead of ANY for tests