[fix] Check the header values to ensure they are all valid ip addresses #63