Added command handler and implemented USER, PASS and QUIT cmds.