fixes for without server and without client

Signed-off-by: Andy Green <andy.green@linaro.org>
get error from getnameinfo if unable to improve hostname and use hostname

Signed-off-by: Andy Green <andy.green@linaro.org>
clean out remaining mentions of deprecated broadcast

Signed-off-by: Andy Green <andy.green@linaro.org>
bump version to 1.1 and soname to 2

Signed-off-by: Andy Green <andy.green@linaro.org>
add changelog v1.0 to v1.1

Signed-off-by: Andy Green <andy.green@linaro.org>
renovate test html

Signed-off-by: Andy Green <andy.green@linaro.org>
update changelog tag chrome 26 firefox 18

Signed-off-by: Andy Green <andy.green@linaro.org>
additional casts allow test server build as cpp

With these explicit casts that are not needed in C, it's possible to build
the test server using g++ like this, after building and installing the
library.

g++ -DINSTALL_DATADIR=\"/usr/share\" -ocpptest test.cpp -lwebsockets

Add a small documentation to README.coding

Signed-off-by: Andy Green <andy.green@linaro.org>
remove stray reference to max broadcast size from readme.build

Signed-off-by: Andy Green <andy.green@linaro.org>
introduce library version plus git hash

This exposes the library version and git head hash it was built from
into LWS_LIBRARY_VERSION and LWS_BUILD_HASH.

These are combined into a version string that's both printed as a
notice log by the library and made available to the app using a new
api lws_get_library_version().  The version looks like

 1.1 178d78c

Signed-off-by: Andy Green <andy.green@linaro.org>
remove one more mention of broadcast callback

Signed-off-by: Andy Green <andy.green@linaro.org>
add note about MIPS opewrt configure options

Signed-off-by: Andy Green <andy.green@linaro.org>
improve test server poll loop docs

Signed-off-by: Andy Green <andy.green@linaro.org>