Remove Socket#onopen

I think it's unnecessary any more.