Split packet handling from login_parse_fromchar to functions in login.c
Split packet handling from login_auth_ok to functions in login.c
Split packet handling from login_parse to functions in login.c