Modified proparse_strerr to use assert rather than return null on erroneous input