Fixed WormNAT2 hosting, fixed database debug warnings

Conflicts:
	src/wormnet/database_base.cpp
	src/wormnet/global_functions.cpp