internal/legacy: implement /charm endpoint
Merge pull request #98 from rogpeppe/042-legacy-charm

internal/legacy: implement /charm endpoint

We use some of the tests from the old server.