added define.hpp with shared lib / DLL visibility macros.
typo.
prefer BC_API/BC_HIDDEN over potentially confusing BC_PUBLIC/BC_PRIVATE
rename BC_HIDDEN to BC_INTERNAL
use stronger internal linkage attribute
added protocol outbound connection state-change debug log output.
don't change state until after ec is checked.
Merge branch 'spesmilo/master'