CR: (somewhat) expose a parameter.
CR: CamelCaseFix.
CR: const.
CR: 0.0.0.0 -> localhost.
CR: extra headers.
CR: default content type.
CR: const bool -> bool in return type.
CR: moved constants into a function from class.