Define http server exports in their own directory.
Remove duplicate checks and add OPTIONS method handler for allowed methods.