Working on Socket wrapper.