Merge pull request #147 from lukechampine/scripting

Basic client
fix bootstrapping
fix signed message encoding