Add libcoap as BSD ports-like package

Alternative to #291 (as discussed on the last developer meeting).
Depends on PR #226