Remove the test for the SQLite NUL character 'bug'. Change the type of the key column in settings table from BLOB to TEXT.
Avoid printing unnecessary messages when determining half open socket
capabilities
Make file permission checks backwards compatible