Fixed for SSL handshake timeout

Sometimes when APNS trying to reconnect to server, Socket timeout or
SSL handshake timeout error happened. This fixed the problem by
allowing 3 times both reconnection and hand-shakes.

  File "tasks/apns.py", line 144, in _connection
    self._connect()
  File "tasks/apns.py", line 135, in _connect
    self._ssl = wrap_socket(self._socket, self.key_file, self.cert_file)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py"
, line 381, in wrap_socket
    ciphers=ciphers)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py"
, line 143, in __init__
    self.do_handshake()
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py"
, line 305, in do_handshake
    self._sslobj.do_handshake()
SSLError: _ssl.c:489: The handshake operation timed out
Fixed tab indents to spaces
BUG FIX: Frame struct fault in multi-sending

	modified:   apns.py
	modified:   tests.py
Merge pull request #52 from Ethan-Zhang/master

BUG FIX: Frame struct fault in multi-sending
Merge pull request #32 from kernys/bugfix-request

Fixed for SSL handshake timeout
fix bug:

python-env/lib/python2.7/site-packages/apns.py", line 142, in _connect
    except socket.timeout:
AttributeError: type object '_socketobject' has no attribute 'timeout'
Merge pull request #53 from simon-liu/fix-socket-timeout-bug

AttributeError: type object '_socketobject' has no attribute 'timeout'