Fixed bug in isOpen. #1

Immediately after creating the input/output streams the status can also be "is opening". This new version is more detailed as to what is allowed to be considered "open" for the purpose of sending.