A bit further on this draft implementation, but the HttpClient doesn't work as expected

Creating the user by hand works.

	$ curl \
	 --Request PUT \
	 --header "Content-Type: application/json" \
	 --header "If-None-Match: *" \
	 --data '{"uid":"abarnes","userpassword":"chevron","fax":"+1 408 555
4661","firstname":"Anne-Louise","fullname":["Anne-Louise
Barnes"],"phone":"+1 408 555
9445","lastname":"Barnes","room":2290,"homeDirectory":"/home/abarnes","m
ail":"abarnes@example.com","location":"Santa
Clara","uidNumber":1119,"gidNumber":1000}' \
	 http://localhost:8080/json/users/abarnes
	{
		"uid": "abarnes",
		"mail": "abarnes@example.com",
		"phone": "+1 408 555 9445",
		"fax": "+1 408 555 4661",
		"location": "Santa Clara",
		"lastname": "Barnes",
		"uidNumber": 1119,
		"firstname": "Anne-Louise",
		"homeDirectory": "/home/abarnes",
		"_rev": "0",
		"userpassword": "chevron",
		"_id": "abarnes",
		"gidNumber": 1000,
		"fullname": [
			"Anne-Louise Barnes"
		],
		"room": 2290
	}

Although the JSON is getting parsed okay now, it does not seem to be
sent correctly.

	$ java -cp
target/forgerock-rest-demo-1.0.0-SNAPSHOT.jar:/Users/mark/.m2/repository
/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
org.forgerock.commons.doc.Main `pwd`/Users.json `pwd`/Groups.json
	Failed to create http://localhost:8080/json/users/abarnes, HTTP
Status: 404
	null
	java.io.IOException: Failed to create
http://localhost:8080/json/users/abarnes, HTTP Status: 404
		at org.forgerock.commons.doc.HttpClient.create(HttpClient.java:99)
		at
org.forgerock.commons.doc.Provisioner.createResource(Provisioner.java:11
9)
		at
org.forgerock.commons.doc.Provisioner.createUser(Provisioner.java:108)
		at org.forgerock.commons.doc.Provisioner.addUsers(Provisioner.java:76)
		at org.forgerock.commons.doc.Main.main(Main.java:44)