Fixed to configure socket channel properly.
Changed some default settings.
Added assertion.
Fixed to take 2 data blocks from cache at one call.