Support for protocols on Solaris

Hello,

I took some files from icosmin/collectd repository to support protocols on Solaris.
Code cleanup and rewrite for better code quality.

Regards,
Yves