impl some method of kenya::net::socket