Add webSocketKeepAliveTime setting to aid testing.
Add comms keep alive tests.
Remove redundant assignment.

The publish immediately overwrites this time so there isn't much
point setting it.
Merge pull request #313 from hindessm/more-comms-tests

More comms tests
Fix HTTP response; 204 should be code not body.
Fix missing types logic.

missingTypes.length was greater than zero so the only way it can be
zero immediately afterwards is if splice is called so move the zero
check after the splice.

Despite what istanbul reports this function is covered by the tests.
Adding tests for credentials.registerEndpoint
Merge pull request #312 from hbeeken/test-credentials-registerEndpoint

Adding unit tests for credentials.registerEndpoint
Merge pull request #316 from hindessm/fix-server-http-response

Fix HTTP response; 204 should be code not body.
Merge pull request #317 from hindessm/fix-flows-missing-types-logic

Fix missing types logic.
Adding test for JSON node
Error path tests for 70-JSON.js