Same issue here on a Jessie machine with nodejs backported (by myself) from
testing (which shouldn't to be related).
>From this  post, it seems to be a proxy issue.
I've got some proxy-related environment variables. Unsetting them fixes the
$ HTTP_PROXY= HTTPS_PROXY= http_proxy= https_proxy= npm view keybase
[No more error]