Add another experimental fix to handle socket hang up
Changed to a more appropriate User agent
Remove bad error handling
Fix indentation