refactor serial wifi config to be backwards compatible, custom BoredParser for serial -- fixes #18