Added parseTrap and getVersion function in Hostapd.pm