Expanded tab to 2 spaces, and fixes spacing
[Fixes #6] Fixes bug with NoMethodError on TCPSocket.

OpenSSL::SSL::SSLSocket has a bit different API, and that's why it was
throwing an exception - TCPSocket responds to `close` instead of `sysclose`.

Also added a bit more logging and rescue clauses so we should know more
if somethings breaks.
Merge pull request #8 from driv3r/bugfix/no_sysclose_method

Bugfix for no sysclose method
Bumped to v2.2.1
Only create the local or stdout log files if the log is configured for local use.  Otherwise skip.
Merge pull request #9 from PatTheGamer/master

Only create the local log file if the local flag is set
Bumped to v2.2.2
use activesupport::logger if defined
Merge pull request #10 from agerlic/use_active_support_logger

use activesupport::logger if defined
formatting
Added TaggedLogging

ActiveSupport 4.x added TaggedLogging, which wraps any standard Logger object
in order to provide tagging capabilities.  This is used fairly often in Rails
projects to do things like provide a request UUID, or the current Time.
Merge pull request #12 from rnhurt/master

Added TaggedLogging from ActiveSupport 4.x