more server work
wrapping up initial version of an http server