Added on_error callback to AC::Live streams

Also added a nested rescue block to log any errors that are raised in
either the callback, or in attempting to redirect an HTML page to
500.html (e.g. the socket itself caused the error). Allowing the
exception to go unhandled inside the rescue clause led to the crashing
issue to occur.