first iteration of http server with post variable parsing