reduce usage of range
thread local io_service
copyright notice
Variable-length integer encoding