added Socket
removed spurious 'using std::ostream' in error classes
added StreamSocket