rfclient/FlowTable: refactor getAddrLen and getVersion
IPAddress.cc: improved robustness
rfclient/FlowTable.cc: readd check for illegal gateway with ipv4