Throw KmsMediaServerException with UNEXPECTED_ERROR code when unexpected error

Change-Id: Ia96b477c80e92ddc8c6b3ad72c7c70358182038a