use green poller in GreenSocket.poll

closes #304