Issue #1 fixed where error callback was incorrectly referenced.
…i encoding of the token.
…ntaining error values for message error response code and local errors.
…response when data has already buffered will add to the buffer.
…ls if necessary.
… buffer containing the device token.
… method which will return this. Can now provide a buffer or ascii representation of the device token.
…, buffer, start, length) method which writes the integer of length bytes directly into the bytes of the buffer specified by the start. Replaces some really clunky code.