Fixed memory leak.

c.Msg was never getting closed on client exit. This should fix issue #48 

I used pprof to find it, should it be permanently enabled? The only problem is that an http server must be running in the background. Should I add a command line arg that turns it on?