added console.log like behaviour

added console.log like behaviour for client.send & client.notice na
dmoved toArray to utils.