Added code for getting download speed and put try,except for ip