BUG/TST: catch socket.error in py2/3.2 and ConnectionError in py3.3
TST: add more specific connectivity checks to yahoo tests