ProcessHandler- socket operations moved