/// <summary>
        /// Obtain a message header from response header
        /// </summary>
        /// <param name="response">HTTP response object</param>
        /// <returns>a message header</returns>
        private static Entities.MessageHeader getMessageHeaderFromHeader(HttpResponseMessage response)
        {

            Entities.MessageHeader mh = new Entities.MessageHeader();
            Helpers.Http.poulateMessageHeaderFromHeader(response, mh);

            return mh;
        }
        /// <summary>
        /// Obtain a message header from response header
        /// </summary>
        /// <param name="response">HTTP response object</param>
        /// <returns>a message header</returns>
        private static Entities.MessageHeader getMessageHeaderFromHeader(HttpResponseMessage response)
        {

            Entities.MessageHeader mh = new Entities.MessageHeader();
            Helpers.Http.poulateMessageHeaderFromHeader(response, mh);

            // additional headers for outbound message header
            mh.Destinations = getDestinationsFromHeader(response);
            mh.SenderReference = Helpers.Http.GetHeader(response,Helpers.Constants.HEADER_SENDER_REFERENCE);

            return mh;
        }