Using lookup table for small encoded ints.
Docs for protocol password parameter
Removed duplicated commented getbit function.
LUA scripting improved. Support for more complex return types.
Renamed get_next_published to next_published.
Renamed get_as_dict/set/list to asdict/asset/aslist.