Adding initial code for blocking way and non-blocking way in poll and an test dummy client.