added a proc to the server to return an http response