--prefix parsing OK; IP & port validation NOT OK