fix NameError caused by incorrect variable name
show TCP calls in debug mode
properly pass host/port in recipient mode
add TODOs
fix mispelling
Merge pull request #255 from guard/rework_TCP_option_handling

Rework tcp option handling
Use proper attempts variable on ECONNREFUSED

Previous to this commit, the Listen::Adapter#start method impcorrectly
used the 'retries' variable instead of the correct 'attempts' variable to
count the number of attempts that have occurred.

Further, the attempts variable was reset to the value of 3 on every
retry causing indefinite retries.

This commit renames the 'retries' variable to 'attempts' and also only
sets the 'attempts' variable to a value of 3 if it does not already have
a value.
Avoid encoding issues by not inspecting file sets

(affects: #250)

Ruby cannot inspect a Set with directory entries
containing incompatible encodings, though inspecting is
useful in debug mode - so we side-step the issue for now.

Also, this may slightly improve performance during scanning.
undo mistakenly replaced text
Avoid using Celluloid.logger in case it is nil

Fixes #248
Merge pull request #256 from guard/defensive_logger

Avoid using Celluloid.logger in case it is nil
Merge remote-tracking branch 'upstream/master'

Conflicts:
	lib/listen/adapter.rb
	lib/listen/adapter/base.rb
	lib/listen/adapter/tcp.rb
	lib/listen/change.rb
	lib/listen/directory.rb
	lib/listen/listener.rb
	lib/listen/record.rb
	lib/listen/tcp/broadcaster.rb