use dispersy.send_packets() instead of endpoint.send()