check if body is encrypted, fixes #10