Update to nanomsg 0.5-beta