test: Add two dashboard tests to check-verify and fix them.

Closes #1578
Reviewed-by: Stef Walter <stefw@redhat.com>
bridge: Treat EACCES as "not-authorized" when reading a file

Reviewed-by: Stef Walter <stefw@redhat.com>
base: Allow specifying custom options to file read

Closes #1580
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Minor javascript syntax tweak for trailing commas
Bump version number
websocket: Allow parsing the HTTP version from responses

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Respect the HTTP 204 header when parsing the response

204 meens no content will be sent, so treat the request as only
having headers.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Implement keep alives for http-stream1 channels

We keep one connection around for 10 seconds in case another request
comes for the same thing.

In addition callers can specify a "connection" identifier which
allows them to reuse a specific connection if it is still open. This
is useful for strange connection based authentication schemes.

Closes #1579
Fixes #1570
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Use libssh in a threadsafe manner

http://api.libssh.org/master/libssh_tutor_threads.html

Closes #1582
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
examples: Add Proof of Concept for showing VNC in HTML5

This demonstrates our sideband channels and how we authenticate
connections properly.

Closes #1560
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
examples: Proof of concept talking to CIM

Talk to CIM using local authentication and retrieve some data.
This is a proof of concept example, and doesn't really do anything
magical, just proves it can work.

Closes #1569
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
WIP - metric channel
WIP - metrics playground
WIP - make them run
WIP - let glib worry about getting the tick interval right
WIP - Make sure to set self->last for the first time.
WIP - encode instances of instance-less metrics as 'null'.
WIP - work around json-glib bug.
WIP - recognize instance-less metrics when building samples.
WIP - Let us worry about getting the interval right.
WIP - 'plot' multiple metrics