Got server calculateMac working