fix grant_params default handling
close the socket on a json stream error
disable timeout and Nagle
add xtend dependency, bump to 0.0.13