Hi there, I have recently discovered a small postage stamp sized SoC module that has a very simple programing interface using AT commands, this provides ALL overhead management of network transactions, setting up an Access Point, joining an access point Creating AND joining access points simultaneously, MAC preprogramed DHCP Client AND DHCP Server....etc..
You setup the webserver, either udp or tcp, create your html, pull some .js from somewhere etc report back via the RS232 TTL serial, the module is an SoC as I said and also contains a host of peripherals ADC, PWM, interrupts etc....
http://www.banggood.com/ESP8266-Remote-Serial-Port-WIFI-Transceiver-Wireless-Module-p-947259.html
This is the cheapest I have managed to find it £2.02 per, I have already diverged from the SAM3X8E Arduino project down the rabbit hole.... and created a distraction for myself....
https://github.com/genguskahn/ESP8266-For-DUMMIES
This would allow for very frugal use of on-board resources by outsourcing ALL Ethernet and receive commands/results from the RS232.....
Most of the documentation is still in Chinese, I have a very detailed Chinese version that the basics can be translated from, if you know someone fluent in the particular dialect I can post it, got it after an email exchange with the tech guys from China.
There are a number of GitHubs and Forums already dedicated to the device.
I have used it with the three main types of Arduino(sorry newbie here was just referred, still speaking bad language), as that's been my flavour a for a while I have only had the little thing working since Monday and already stunned RF24 Arduino with 8266 bridge to three Arduino mini (328P 5v) light controllers UDP booom all from one webpage, RF24 buggy but concept works....
There are lots of WiflyInterface libraries. The WiflyInterface library here should support all the additions and changes of each within reason such that the API allows the program to make use of the the library rather relying on a fork of it with the feature.
Is anyone with a wifly module interested in contributing to this work and testing?
These are what I found doing a simple search