Adde profiler. Socket non-blocking mode bug fix.