Can now receive broadcasts

Added the handler for receiving broadcasts. Fixes #23.