Working login (needs tidying up)
Updated packet sizes and opcodes to 795 revision