Bugfix in on_message() callback registration subroutine.
Destination parameter is optional. No checks have to be performed if it is not supplied.