Added logging for ip resolution errors in libprocess.

Review: https://reviews.apache.org/r/22687
Added process delegate for accessing the scheduler endpoint.

Review: https://reviews.apache.org/r/22703/