fix: take into account var_int for `addr`. move to parser.

I realized there is a `var_int` at the start of the data in the `addr` packet. I didn't take this into account originally. It's now fixed, and I moved the actual packet parsing into protocol/parser.js (it seemed more appropriate, not to mention, the readIntv function is there).