Make PacketReader and PacketWriter nested classes

of XMPPTCPConnection.