Initial code to split client and server stream code
Merge pull request #7 from goxmpp/streams

Initial code to split client and server stream code