fixed bug where socket_connect/accept was not returning the right stream
Authored by: kifer 1999-07-21
Parent: [r1005]
Child: [r1007]