Moved NetStream creation from NetConnection handler to start publish method

This change allow the handler to be used both for publish and play
NetConnections. Now the NetStream used for publishing is created only
when there is something to publish.