modules/http_request: fix for prev. commit
core/socket: fixed bug (nonblock flags); core/stream: ported; modules/file_*: ported