Basic login result.

Signed-off-by: Kevin <kevainxxx@gmail.com>
- Add packet block support and fix WriteString function

Signed-off-by: Kevin <kevainxxx@gmail.com>
- KISS

Signed-off-by: Kevin <kevainxxx@gmail.com>