Merge pull request #18 from phgrey/master

Fixing some memory leaks on Agent reconnect
pgk: add serve command
Release 1.1.2
Increase the max payload size according to the not-yet-documented change for APN (256bytes->2048bytes).
Centralise the value in a constant
Update the test case for truncation and exceptions
travis using node .10 and .11
Replace const by var.
Merge pull request #22 from Speicher210/master

Increase the max payload size
Release 1.1.3
Merge branch 'master' of github.com:qualiancy/apnagent