DEVEL model handler keys:  /names / 
DEVEL model handler values:  [RestApiHandler "/names"] [RestApiHandler "/"] [RestApiHandler ""]
Initializing for network communication... 
ExampleRestServer: CMD: starting command thread
========================================
Waiting for an incoming connection... 
Successfully received the following 196 bytes:
POST / HTTP/1.1
accept-encoding: gzip,deflate
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
connection: close
accept: */*
content-length: 0
Host: 162.210.91.19:28499

DEVEL getRequestURL() --> /
DEVEL getURLBase() --> /
DEVEL getURLId() --> 
DEVEL === Printing headers ===
DEVEL connection: close
DEVEL accept: */*
DEVEL host: 162.210.91.19:28499
DEVEL accept-encoding: gzip,deflate
DEVEL content-length: 0
DEVEL user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
DEVEL === End headers ===
DEVEL === Printing parameters ===
DEVEL === End parameters ===
DEVEL handle():  [RestApiHandler "/"]
DEVEL handle():  POST
DEVEL handle() urlId:  ""
DEVEL Sending HTTP reply:
HTTP/1.1 200 OK
X-Powered-By: St Olaf MCA
Content-Type: text/plain; charset=utf-8
Content-Length: 2
Date: Fri, 26 Jan 2018 19:13:22 GMT
Connection: close

OK
DEVEL End of reply
HTTP reply message sent
========================================
Waiting for an incoming connection... 
Successfully received the following 176 bytes:
GET / HTTP/1.1
accept-encoding: gzip,deflate
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
connection: close
accept: */*
Host: 162.210.91.19:28499

DEVEL getRequestURL() --> /
DEVEL getURLBase() --> /
DEVEL getURLId() --> 
DEVEL === Printing headers ===
DEVEL connection: close
DEVEL accept: */*
DEVEL host: 162.210.91.19:28499
DEVEL accept-encoding: gzip,deflate
DEVEL user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
DEVEL === End headers ===
DEVEL === Printing parameters ===
DEVEL === End parameters ===
DEVEL handle():  [RestApiHandler "/"]
DEVEL handle():  GET
DEVEL handle() urlId:  ""
DEVEL Sending HTTP reply:
HTTP/1.1 200 OK
X-Powered-By: St Olaf MCA
Content-Type: application/json; charset=utf-8
Content-Length: 14
Date: Fri, 26 Jan 2018 19:13:22 GMT
Connection: close

{ "count": 1 }
DEVEL End of reply
HTTP reply message sent
========================================
Waiting for an incoming connection... 
Successfully received the following 181 bytes:
GET /names HTTP/1.1
accept-encoding: gzip,deflate
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
connection: close
accept: */*
Host: 162.210.91.19:28499

DEVEL getRequestURL() --> /names
DEVEL getURLBase() --> /names
DEVEL getURLId() --> 
DEVEL === Printing headers ===
DEVEL connection: close
DEVEL accept: */*
DEVEL host: 162.210.91.19:28499
DEVEL accept-encoding: gzip,deflate
DEVEL user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
DEVEL === End headers ===
DEVEL === Printing parameters ===
DEVEL === End parameters ===
DEVEL handle():  [RestApiHandler "/names"]
DEVEL handle():  GET
DEVEL handle() urlId:  ""
DEVEL Sending HTTP reply:
HTTP/1.1 200 OK
X-Powered-By: St Olaf MCA
Content-Type: application/json; charset=utf-8
Content-Length: 18
Date: Fri, 26 Jan 2018 19:13:22 GMT
Connection: close

{ "names": [
  ] }
DEVEL End of reply
HTTP reply message sent
========================================
Waiting for an incoming connection... 
Successfully received the following 279 bytes:
POST /names HTTP/1.1
content-type: application/x-www-form-urlencoded; charset=UTF-8
accept-encoding: gzip,deflate
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
connection: close
accept: */*
content-length: 13
Host: 162.210.91.19:28499

name=John DoeDEBUG: name=John Doe
DEVEL getRequestURL() --> /names
DEVEL getURLBase() --> /names
DEVEL getURLId() --> 
DEVEL === Printing headers ===
DEVEL content-type: application/x-www-form-urlencoded; charset=UTF-8
DEVEL connection: close
DEVEL accept: */*
DEVEL host: 162.210.91.19:28499
DEVEL accept-encoding: gzip,deflate
DEVEL content-length: 13
DEVEL user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
DEVEL === End headers ===
DEVEL === Printing parameters ===
DEVEL name=John Doe
DEVEL === End parameters ===
DEVEL handle():  [RestApiHandler "/names"]
DEVEL handle():  POST
DEVEL handle() urlId:  ""
DEVEL Sending HTTP reply:
HTTP/1.1 200 OK
X-Powered-By: St Olaf MCA
Content-Type: text/plain; charset=utf-8
Content-Length: 2
Date: Fri, 26 Jan 2018 19:13:22 GMT
Connection: close

OK
DEVEL End of reply
HTTP reply message sent
========================================
Waiting for an incoming connection... 
Successfully received the following 181 bytes:
GET /names HTTP/1.1
accept-encoding: gzip,deflate
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
connection: close
accept: */*
Host: 162.210.91.19:28499

DEVEL getRequestURL() --> /names
DEVEL getURLBase() --> /names
DEVEL getURLId() --> 
DEVEL === Printing headers ===
DEVEL connection: close
DEVEL accept: */*
DEVEL host: 162.210.91.19:28499
DEVEL accept-encoding: gzip,deflate
DEVEL user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
DEVEL === End headers ===
DEVEL === Printing parameters ===
DEVEL === End parameters ===
DEVEL handle():  [RestApiHandler "/names"]
DEVEL handle():  GET
DEVEL handle() urlId:  ""
DEVEL Sending HTTP reply:
HTTP/1.1 200 OK
X-Powered-By: St Olaf MCA
Content-Type: application/json; charset=utf-8
Content-Length: 33
Date: Fri, 26 Jan 2018 19:13:22 GMT
Connection: close

{ "names": [
    "John Doe"
  ] }
DEVEL End of reply
HTTP reply message sent
========================================
Waiting for an incoming connection... 
Successfully received the following 196 bytes:
POST / HTTP/1.1
accept-encoding: gzip,deflate
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
connection: close
accept: */*
content-length: 0
Host: 162.210.91.19:28499

DEVEL getRequestURL() --> /
DEVEL getURLBase() --> /
DEVEL getURLId() --> 
DEVEL === Printing headers ===
DEVEL connection: close
DEVEL accept: */*
DEVEL host: 162.210.91.19:28499
DEVEL accept-encoding: gzip,deflate
DEVEL content-length: 0
DEVEL user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
DEVEL === End headers ===
DEVEL === Printing parameters ===
DEVEL === End parameters ===
DEVEL handle():  [RestApiHandler "/"]
DEVEL handle():  POST
DEVEL handle() urlId:  ""
DEVEL Sending HTTP reply:
HTTP/1.1 200 OK
X-Powered-By: St Olaf MCA
Content-Type: text/plain; charset=utf-8
Content-Length: 2
Date: Fri, 26 Jan 2018 19:13:22 GMT
Connection: close

OK
DEVEL End of reply
HTTP reply message sent
========================================
Waiting for an incoming connection... 
Successfully received the following 176 bytes:
GET / HTTP/1.1
accept-encoding: gzip,deflate
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
connection: close
accept: */*
Host: 162.210.91.19:28499

DEVEL getRequestURL() --> /
DEVEL getURLBase() --> /
DEVEL getURLId() --> 
DEVEL === Printing headers ===
DEVEL connection: close
DEVEL accept: */*
DEVEL host: 162.210.91.19:28499
DEVEL accept-encoding: gzip,deflate
DEVEL user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
DEVEL === End headers ===
DEVEL === Printing parameters ===
DEVEL === End parameters ===
DEVEL handle():  [RestApiHandler "/"]
DEVEL handle():  GET
DEVEL handle() urlId:  ""
DEVEL Sending HTTP reply:
HTTP/1.1 200 OK
X-Powered-By: St Olaf MCA
Content-Type: application/json; charset=utf-8
Content-Length: 14
Date: Fri, 26 Jan 2018 19:13:22 GMT
Connection: close

{ "count": 2 }
DEVEL End of reply
HTTP reply message sent
========================================
Waiting for an incoming connection... 
ExampleRestServer: CMD: command thread returning
ExampleRestServer: terminating command thread
ExampleRestServer: exiting