working on escape sequences, improving handling of continued lines
debug: message for server-response != 204 corrected
some minor adjustments regarding the mime type and handling of long
lines