Remove dependency on curl in jssh