inputstream outputstream init