Bug fixes

Now working with the iPhone 5. Also fixed an issue where phones would
pull their celluar IP instead of the wifi IP.