Issues #1 and #61, part 1: refactor socket code, add checkEOL calls.
Merge branch 'master' of https://github.com/jMarcS/Basic