Added heartbeat option.
Handle invalid changes.
Added robustness around handling an empty changes body
Handle the deletion of lastSequence while in the middle of processing.
Bumped up the version
Added some extra logging
Pass headers through to request.
Added main to package json
intial version of the api