improved error detection in SocketConnection
split class IRC into IRC and IRCBase for cleaner code
IRCBase 'send' event will now also send a Message, like the 'recv' event
some minor bug fixes
Added a new module for IRCClient that encapsulates some of the management work needed to get a clean connection up and running.
Added a logging module containing IRC event handlers that can be used by the IRCClient to log IRC messages to screen and/or file.
moved all lib files into the pyrclib sub-directory + added a __init__.py
changed test.py to use the new classes & functions