Minor fix in database connector.
Changed the way in which socket communication is done.
Merge remote-tracking branch 'origin/master'

Conflicts:
	src/com/nomeautomation/devicemanager/DeviceServerCommandHandler.java