apnsagent: refactoring
rename local ver
apnsagent: define ServerError
apnsagent: use ServerError to handle notification error (not include apns.ProtocolError)