AllJoyn-2218: Print error message when encryption is called for but not enabled.