Merge pull request #46 from chipdude/master

fix http errno logging when recv() returns 0
first shot a json builder
test for builder
try another approach for json streaming
fix test
forgot std::stirng
improve jsonstream
extern manips. make transition public for special operator<< overloads like json_t *
fix jsonstream handling of byte size types
heh
fix bool
add optional json string escaping
add manip for raw json output
allow extra text in THROW_ON macros
close immediately on fd object move; add more text to errors; protect against fd_base == false; remove redundant socket_fd move
ensure c-ares and system errors are correctly reported: make all dial errors exceptions