added "pretty" log suppor (types, log levels, colors..)
bug on sent message length: fixed