connection

Opens socket input and output channels and returns connection object