make consumer lookupd_http_address handling work like pynsq

would fail if scheme was present, but path was completely blank (not even just /)
Merge pull request #63 from ploxiln/lookupd_address_no_path_63

handle lookupd_http_address like pynsq
producer: fix write IOError deadlock

if `WriteCommand` fails, since it only occurs inside the same goroutine
that receives `Delegate` events, the call to `WriteCommand` deadlocks
trying to delegate the `IOError` (which sends to `Producer.ioErrorChan`)

fix it by just closing inline
Merge pull request #65 from mreiferson/producer_deadlock_65

producer: fix write error deadlock
Fix typo.
Merge pull request #68 from fuseelements/fix/doc

Fix typo.
lightweight pluggable logging
Merge pull request #70 from devdazed/pluggable-logging

centralize logging and make it pluggable
improve SetLogger docstring
consumer: change start/stop handler log level to debug. Closes #71
Add missing parenthesis in HandlerFunc comment
Merge pull request #73 from myliu/fix/mliu/missing-parenthesis

Add missing parenthesis in HandlerFunc comment
bump v1.0.0 stable
config: support tls-key and tls-cert
config: fix some missing float32 coercion
config: go fmt
Merge pull request #75 from mreiferson/tls_opts_75

config should accept tls-client-cert
config: normalize to underscores for consistency
Merge pull request #76 from mreiferson/underscores_76

config: normalize opt names to underscores
Fix client verification and wording

Per https://github.com/bitly/go-nsq/commit/5429f88b67f4593dba706e84dd7631004ea2714a#commitcomment-7481700,
"When the tls.Config is used for a TLS client, it should be setting c.TlsConfig.RootCAs,
not .ClientCAs; otherwise there will be no possible roots to verify the server cert."

Because go-nsq is always used as a client, RootCAs needs to be set, not ClientCAs.

Lastly, the cert is public, not private, and the key is private, not public.