NHN Line protocol with Python and thrift [warning: dirty]