Setting the Mesos version to 0.17.0 for cross-compatibility with protobuf 2.5.0. Also adding a null pointer check before logging the slave attributes.
Merge pull request #21 from ahunnargikar/bug-fixes

Bug fixes for protobuf compatibility and null pointer exception.