[BUGFIX]:Force close connection between server and client. ,#

Detail:
- Send close connection to server scanning.
- Improved pack message before send message.
-- Last commit cannot pack message case set incurrect size to server.
- Cannot handle normal close programs after send close connection to server.

ReviewedBy: R.Chatsiri
AutomergeTo:

Resolves: #
Documentation: #
Release:

	new file:   database/db_connection.cpp
	new file:   database/db_connection.hpp
	new file:   database/db_controller.cpp
	new file:   database/db_controller.hpp
	modified:   packedmessage_scan_client.cpp
	modified:   packedmessage_scan_client.hpp
	modified:   scan_client.cpp
	modified:   scan_client.hpp
	new file:   temp_error.txt