Adding 'error' event to server instances (issue #10).