Fixing parse, added basic WEP support