net: tftp: fix option validation as per RFCs