Fix debug() macro, avoid exposing internal variables.
Don't send trailing \0 on UDP using string message.

Uses fast macro for strlen, Also added a debug log for connect().
Merge pull request #167 from sunyc/master

More Changes for alpha7.4