wrap message box text
catch SocketException instead of more specific

hopefully will make it work on windows