Merge pull request #13 from adammw/master

Use AP resolver to get WebSocket URL
v0.1.2
proto: change contentType to bytes format

This works around the non-UTF8 character error that is emitted when parsing
some mercury responses by changing the type of the contentType field to bytes.

Derrived from Hexxeh/spotify-websocket-api@e6b2d8772d

Fixes TooTallNate/node-spotify-web#11
Merge pull request #14 from adammw/proto-suppress-error

proto: change contentType to bytes format
spotify: lint
Support MercuryMultiGetRequest
util: fix comment
Merge pull request #17 from mauimauer/multiget

Support MercuryMultiGetRequest
spotify: fix lint
v0.1.3
spotify: refactor MercuryRequest code into sendProtobufRequest function

Previously, all functions which required MecuryRequest for communications
(such as `metadata()`, `playlist()` and `rootlist()) ) had to do the
construction of requests and callback processing themselves.

This commit refactors the logic into a separate `sendProtobufRequest()` function
which handles these sorts of communication.

This commit also updates the MercuryRequest protobuf format with new fields and
field names as found in the official client, and it turns out that the reply
of a MercuryRequest is actually MercuryRequest protobuf and not a MercuryReply
as was it being parsed as previously, so it is used instead for parsing replies.

Fixes #11
spotify: use SelectedListContent instead of ListDump for playlist and rootlist responseSchemas
proto: update metadata fields
example: add preview playing example
Merge pull request #23 from adammw/metadata-patch

Update metadata protobuf schema
track: add previewUrl getter and playPreview method
README++
spotify: make callback of sendProtobufRequest optional
spotify: use correct number argument for sending SUB/UNSUB MercuryRequests
track: emit error if stream does not respond with 200 status code