Added hostname extraction from TLS, for use with stats.
Merge remote-tracking branch 'upstream/master'
Add tests that exercise hostname-from-TLS code
Merge pull request #49 from rod-hynes/master

Fix: allow Tunnel.Close() to be called multiple times without "panic: close of closed channel"
Merge remote-tracking branch 'upstream/master'
No longer spawning goros when statsChan is full, because of uncontrolled memory risk
Changed a couple of vars to consts
Docker build will now first get missing dependencies
Merge pull request #50 from adam-p/housekeeping

Small improvements
Merge pull request #44 from adam-p/master

Added hostname extraction from TLS, for use with stats.
Add flag to enable CPU profiling
Fix: processStats goro was pinning the CPU. The problem was due to a 'default'
select case which always ran. As this case was important to prevent callers to
recordStat() from blocking forever, and a robust fix appeared complex, I have
simply removed the processStats goro and associated channel. A buffered channel
requires a mutex lock in any case [1], and the mutex-protected logic, now
inline in recordStat, will execute in fractions of a microsecond. I believe that
the goro/channel is not worth the extra complexity at this time.

[1] https://github.com/golang/go/issues/6394