Fixed Windows Line Feed

Some windows server don't respond kindly to UNIX line feeds . Added
detection of relevant error from the server. If recieved, line feed
format is converted and the connection is attempted a second time. If
it still gets an error, the application terminates with a descriptive
error.