Use authTimeout in setAuthTimer
Merge pull request #39 from WuLonghui/hw-issue-1

Use authTimeout in setAuthTimer
Fix Travis to properly fail the build on go fmt and go vet.

When running go fmt/vet, they do not exit non-zero if they detect any issues,
they only print out information. This wraps go fmt/vet in a script that
captures the output to a temp file and checks if anything was written to it.
If any was, it prints it out then exits 1.
Fix gofmt issues
Add build instructions & version constraint notes

We take too much Go-specific knowledge for granted; provide hints and
guidance in the `README.md` to better guide those new to Go.
Merge branch 'note_versions'

Improves guidance on building with Go, and requirements of Go
versioning.
Release version 0.5.6
nats.io link
Let readLoop do the closeConnection magic on any error

clearConnection will close the socket, but defer to readLoop to clean
up the client's connection
Add routes and remotes to varz
Check port when removing self referenced routes

* Cleanup how self referenced routes were determined
Prevent duplicate routes properly

* Guarantee lock when checking & adding a route
* Upgrade to a solicited route if one is seen
* Fix race issue when setting the remoteID
Merge pull request #45 from fraenkel/varz

Add routes and remotes to varz
Merge pull request #46 from fraenkel/self_reference

Check port when removing self referenced routes
Merge pull request #47 from fraenkel/remove_race

Prevent duplicate routes properly
Merge pull request #44 from fraenkel/stale_reconnect

Let readLoop do the closeConnection magic on any error
function closures
rand contention TODO
pedantic about over zealous GC for sockets
Fix log calls