Cache the connection
Merge pull request #64 from aemoncannon/optimize-source-mapping

Cache the current connection at each buffer, to avoid repeated, costly lookups.