more work on trying to get http server working

Signed-off-by: Sean Nicholls <seannicholls@gmail.com>