Patch by Jerry:
- Fixed line endings
- Integ test for file transfer
- Fixed crashed problem when log info is larger than 2048 bytes
- Fixed compile error caused by std exception (by Feng ye)
- Fixed include path on Mac and linux (by Feng ye)

git-svn-id: http://svn.synergy-foss.org/trunk@1846 33c40d52-04ba-11de-a43f-ff96a2b7a9af
Patch by Jerry:
- Fixed include path

git-svn-id: http://svn.synergy-foss.org/trunk@1847 33c40d52-04ba-11de-a43f-ff96a2b7a9af