Modify RawEndpoint

Modify RawEndpoint to allow sending data to a specific address.
Since you're creating a new function for this, maybe you can also call send_packet_to_address from send_packet (to avoid duplicate code)?