Fix graphite issue

This Fix multiple issue: 
* Ip is nil example collector don't add any IP
   * Added IP when sending local metrics
   * If no IP tags just send nil instead

* Ip send can be with "-" or "."
   * Fix gsub