Finished client handling & Added VarInt support