Wait for proxy server to start correctly