thread_socket_filter: check p!=nullptr instead of nbytes>0
thread_socket_filter: check p!=nullptr instead of nbytes>0

Same check for both "if" clauses.

CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy