Add onSendHostEvent event

Mostly for browsers that don't support title change events