Debug unknown error

@ransomr 
Please review.
src/apns_connection.erl:318: Warning: missing specification for function build_payload/1