Remove extra empty lines in scan.cpp
Fix commits in functions.h
Fix Issue 4: Socket::Read return false when read return 0
Merge pull request #15 from chen3feng/develop

Fix Issue 4, ...