Changed IP a bit, and debugging macros.

I think I accidentally deleted this pull request, so I am re-sending it (same thing as https://github.com/irungentoo/ProjectTox-Core/pull/416)