Fixed a bug in SAPNIStreamSocket

StreamSocket doesn't have sendall, changed to sendall. Thanks Joris for catching this!
Some PEP8 arrangements
Some PEP8 arrangements