Make read block until input is available
Merge pull request #19 from talex5/xen-blocking-reads

Make read block until input is available