Some styling, mostly exception handling for Nokogiri.
Exception handling Nokogiri
Socket error handling.
Updated styling.