network: rename open and close methods in stream socket