include nn() method for decoding strings to nanomsg constants