Added ability to broadcast function packets. fix #770

Now it`s possible to broadcast functions.