Increased buffer size
Added optional log file toggled by DEBUG flag
Added newline at EOF
Refactored readFromSocket()
Carriage return removal is done by ircParse()