enabled warnings when building library on its own, no changes when using library as a subproject
fixed types used in SCTP to fit the rest of the library
added 'doc' target for generating doxygen documentation