Fix errors and get it all to compile

Note that we're currently referencing a hacked version of the
meh/elixir-socket dependency to force compatability with
Elixir v0.10.1, because that's the version that I can conveniently
run on my machine and elixir-socket has only been built for
0.10.0 and 0.10.2-dev (groan). Fortunately there don't seem to be
any actual issues with compatability.