first stab at refactoring to handle multiple network types
Merge branch 'master' into multiple_network

Conflicts:
	libs/network/http/httpserver.c
Now compiling for all targets, working on CC3000 and Linux, failing on WIZnet
comments
try and cope with low memory conditions better
Merge branch 'master' into multiple_network
tidyup after merge
refactoring to call functions via struct
Epic networking refactor - it should now be possible to support multiple network devices in a single binary
Trying to make Wiznet and CC3000 play nice together. Looks like socket functions with the same name (eg. setsockopt) are causing us grief now
Epic networking refactor - it should now be possible to support multiple network devices in a single binary
Merge commit '713838976e0d02f64397db2c2107b7ed252bfd66' into multiple_network

Conflicts:
	libs/network/cc3000/jswrap_cc3000.c
	libs/network/network.c
	libs/network/network.h
	libs/network/wiznet/jswrap_wiznet.c