Fixes Number default
Fixes URLStream IO_ERROR defects
Merge pull request #329 from yurydelendik/number-default

Number defaults and IO_ERROR fixes