Added a missing "s" in README
The license and doc file should be installed to the same parent folder name
Minor code cleanups
- Added const correctness to the appropriate parameters
- Moved packet_out inside of sendPacketEx