Write as utf-8 into DB
Log network in SQL column
Replace possible non UTF-8 characters
Merge pull request #1 from frdmn/master

Log network in SQL + fix for non UTF8 encoding