If no header, set IP from socket