Export document-root parameter

The internal docroot parameter is renamed to document-root and exposed,
for some handlers might need its value.