Added headers option to the httpRespond method signature