Updates for netmap API version 10. Closes #53