v0.94 xengine:
1. add some interface in XSerial, and improve the implementation of realted class.