Remove all references to Posix functions, using Sock functions as appropriate. Update coap_address_t to be RIOT specific when doing RIOT builds.