Constructs a new stream wrapper
Called when opening the stream wrapper, right before streamWrapper::stream_open.
This function has no parameters.