dhcp client: add checksum computing function for class DHCPMessages

When using raw sockets for communicating with the DHCP
server, we need to fill the IP and UDP headers. Adding
checksum function allows us to fill the checksum field
in headers.

Bug: 25642025
TEST=compile and unittests
Change-Id: Icab3433ccb2b1fffbf1fb4ce60362d1b94588235
diff --git a/dhcp_message.h b/dhcp_message.h
index faef9e3..da12d6c 100644
--- a/dhcp_message.h
+++ b/dhcp_message.h
@@ -54,6 +54,7 @@
   static bool InitFromBuffer(const unsigned char* buffer,
                              size_t length,
                              DHCPMessage* message);
+  static uint16_t ComputeChecksum(const uint8_t* data, size_t len);
 
   uint8_t message_type() const {return message_type_;}