some warning fixes for sunpro, and a compile fix, sunpro is still dumb and broken but its a start

git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6322 17fca916-40b9-46aa-a4ea-0a15b648b75c
apply patch by htozehizzo to speed up dcc over ssl file transmissions

git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6323 17fca916-40b9-46aa-a4ea-0a15b648b75c