Event bus security

This is literally the first Java code I've ever written, so please let me know if there's anything stylistic you'd like cleaned up.
Both "incoming" and "outgoing" could be null, it's not safe to assume it will contain any of the fields when "event_bus_security" is present.