Add content-type header for domain create response.
Clean up create code, make both create record and create domain return 201. Update docs to reflect this.