Small changes to WiFly library for connection to open networks