Refactor SetRcode, rd bit is now set properly for error packets
Merge pull request #69 from millerkil/setrcode-refactor

Refactor SetRcode, rd bit is now set properly for error packets