Export functions for converting between UTF-8 and CP437 to lua.
Support calling a lua function via a protobuf request.

Previously the only way to call lua code was to call scripts
and parse their output to the stream, which is cumbersome.