base exception class + library header
fix unitiliazed memory access error
very simple context and socket