Added server encryption and online mode