[refactor] Write and implements acceptPacket and joinPacket
[refactor] Write and implements acceptPacket and joinPacket

mgranberry/ttn,LoRaWanSoFa/ttn,TheThingsNetwork/ttn,mgranberry/ttn,TheThingsNetwork/ttn,TheThingsNetwork/ttn,LoRaWanSoFa/ttn,jvanmalder/ttn,jvanmalder/ttn,mgranberry/ttn,jvanmalder/ttn