Now prints are after process begins
First stage of locking implemented
webserver part split off into seperate file and some unneeded #includes removed
More tidying
Now lists all pages on the index
brakcet tidying
Will unpack url arguments but they don't get returned to the process
some blank lines removed
Now returns the correct value from get_url_param
Now doesn't print **** on process start and instead prints the port data is
being posted to
more work on getting saving config to work and more debug added
Now with linux new lines, and debug output for sensor config
Now also prints if it has recived AVR config
Now has seperate print snesor config method
Now has function to print post config
Now uses a goto (nasty I know) to make sure that in error cases the connection
is closed properly
Now with more vairables at top rather than in the middle;
Also has error checking on writing config
Now prints after encoding rather than before
Now auto confs gateway ip
Now with unix line endings