closes #2, added simple example use in the readme file
closes #1
* created new functions to open the feedback and apns connections instead of doing them inside init().
* added a new handle_info for ssl_disconnect when the socket is the apns one
* when a message is to be sent and the apns has been disconnect, try to reconnect first (handle_cast)
Merge pull request #3 from inaka/reconnect_on_demand

Now we keep processes running, even when connection to apple is lost. This way it's transparent to the user
Some typos and a little decoration
Function to calculate remaining bytes in a payload

This can be used to determine how long the alert string can be without
going over Apple's 256-byte limit.
Merge pull request #4 from eleostech/payload-size

Function to calculate remaining bytes in a payload
-specs for binary arguments
Merge pull request #5 from unisontech/specs_for_binary_arguments

-specs for binary arguments
Update for R16B.
Merge pull request #6 from lechat-im/master

Update for R16B
Removed tests directory from rebar.config edoc options.
Merge pull request #7 from inaka/inaki-docfix

Removed tests directory from rebar.config edoc options.
Renamed test directory to /test from /tests
Cleanup of Makefile for consistency.

Removed use of deprecated rebar options for running build_plt and dialyze.
Removed update-deps target.
Made xref verbose.
Merge pull request #8 from inaka/inaki_makefilefix

Inaki makefilefix
Enabled cover in rebar.config, added cover.spec
Merge pull request #9 from inaka/inaki_add-cover

Enabled cover in rebar.config, added cover.spec
not logging push payload
allow adding extra staff into apn msg