fix parsing of datetime and time element values
log connection closed events
better handle connection aborts