implemented basic socket monmitor; clean-up of publie API (functions and options); partial reformatting for newer coding standards; fixed bug in platform config