Change debug color on linux + some warning fixes
api: allow -b <ip>, and set bind retry to 20sec

before, only -b <ip:port>, <port> or 0 (disable) was allowed

easier to set -b 0.0.0.0 with default port