- added use of select for reading off of a socket fd
- cleaned up code a little bit
- added exception class for Msocket (MSockerError(Exception))